package cn.wolfcode.luowowo.service;

import cn.wolfcode.luowowo.domain.${capitalize};
import cn.wolfcode.luowowo.query.${capitalize}Query;
import org.springframework.data.domain.Page;

import java.util.List;

public interface I${capitalize}Service {
    void save(${capitalize} ${uncapitalize});
    void delete(String id);
    void update(${capitalize} ${uncapitalize});
    ${capitalize} get(String id);
    List<${capitalize}> listAll();
    // 分页查询的方法
    Page<${capitalize}> query(${capitalize}Query qo);
}